package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName WxmpGroupMessageObjectDo
 * @Description
 * @Author ibeeking
 * @Date 2020-12-25 13:50
 **/
@Data
@TableName("wx_mp_group_message_object")
@ToString
@Accessors(chain = true)
public class WxMpGroupMessageObjectDO implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;

	/**
	 * 公众号群发消息id
	 */
	@TableField(value="group_message_id")
	private Long groupMessageId;

	/**
	 * 消息类型
	 */
	@TableField(value="message_type")
	private Integer messageType;

	/**
	 * 发送目标
	 */
	@TableField(value="open_id")
	private String openId;

	@TableField(value = "app_id")
	private String appId;

	@TableField(value = "create_time")
	private LocalDateTime createTime;

	@TableField(value = "create_by")
	private Long createBy;

	@TableField(value = "del_status")
	private Integer delStatus = 0;


}
